<template>
  <div>
    <h2>ThreeCard</h2>
    <h3>{{ msg }}</h3>
    <button @click="changeMsg">点击修改msg</button>
  </div>
</template>

<script>
export default {
    data(){
        return {
            msg: "前端老兵"
        }
    },
    methods: {
        changeMsg(){
            this.msg = "蜡笔小新"
        }
    }
}
</script>

<style>

</style>